import { post } from '@/utils/request';

// 模型总览列表
export async function queryModelList(params: any) {
  return post('/sjModel/queryModelList', params);
}
// 模型总览-修改模型 、
export async function updateModelState(params: any) {
  return post('/sjModel/updateModelState', params);
}
// 模型总览-删除规则
export async function deleteModel(params: any) {
  return post('/sjModel/deleteModel', params);
}

// 模型总览-查询规则
export async function queryRuleByModel(params: any) {
  return post('/sjModel/queryRuleByModel', params);
}

// 模型总览-添加规则
export async function addModelRule(params: any) {
  return post('/sjModel/addModelRule', params);
}

// 调用预警服务
export async function yjSchedule(params: any) {
  return post('/sjModel/yjSchedule', params);
}

// 查询预警服务状态
export async function queryScheduleStatus(params: any) {
  return post('/sjModel/queryScheduleStatus', params);
}
